using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class tbMuaGiaiDTO
    {
        private int maMuaGiai;

        public int MaMuaGiai
        {
            get { return maMuaGiai; }
            set { maMuaGiai = value; }
        }
        private string tenMuaGiai;

        public string TenMuaGiai
        {
            get { return tenMuaGiai; }
            set { tenMuaGiai = value; }
        }
        private DateTime ngayBatDau;

        public DateTime NgayBatDau
        {
            get { return ngayBatDau; }
            set { ngayBatDau = value; }
        }
        private DateTime ngayKetThuc;

        public DateTime NgayKetThuc
        {
            get { return ngayKetThuc; }
            set { ngayKetThuc = value; }
        }
        private int vongDau;

        public int VongDau
        {
            get { return vongDau; }
            set { vongDau = value; }
        }
        private int tongSoTranDau;

        public int TongSoTranDau
        {
            get { return tongSoTranDau; }
            set { tongSoTranDau = value; }
        }
        private int tongSoTheVang;

        public int TongSoTheVang
        {
            get { return tongSoTheVang; }
            set { tongSoTheVang = value; }
        }
        private int tongSoTheDo;

        public int TongSoTheDo
        {
            get { return tongSoTheDo; }
            set { tongSoTheDo = value; }
        }
        private string doiVoDich;

        public string DoiVoDich
        {
            get { return doiVoDich; }
            set { doiVoDich = value; }
        }
        public tbMuaGiaiDTO()
        {
            this.MaMuaGiai = 0;
            this.TenMuaGiai = "";
            this.NgayBatDau = DateTime.Now;
            this.NgayKetThuc = DateTime.Now;
            this.VongDau = 0;
            this.TongSoTranDau = 0;
            this.TongSoTheVang = 0;
            this.TongSoTheDo = 0;
            this.DoiVoDich = "";
        }
        
        public tbMuaGiaiDTO(int mmg, string tmg, DateTime nbd, int std,
            DateTime nkt, int vd, int tstd, int tstv, string dvd)
        {
            maMuaGiai = mmg;
            tenMuaGiai = tmg;
            ngayBatDau = nbd;
            ngayKetThuc = nkt;
            vongDau = vd;
            tongSoTheVang = tstv;
            tongSoTheDo = std;
            doiVoDich = dvd;
        }
        //public override string ToString()
        //{
        //    return MaMuaGiai;
        //}
    }
    
}
